package com.manysong.interceptor;

public class Client {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		TargetInterface target = new Target();
		MyProxy myProxy = new MyProxy();
		TargetInterface proxy = (TargetInterface) myProxy.getProxy(target);
		proxy.doSomething();
	}

}
